package demo3;

import demo1.BookList;

public class Show implements Operation{
    @Override
    public void work(BookList book){
        System.out.println("目前图书管全部书籍如下");
        for (int i = 0; i < book.getSize(); i++) {
            System.out.println(book.getBook(i).toString());
        }
    }
}